package com.aidex.system.mapper;

import com.aidex.system.domain.SysCommonUseMenu;
import com.aidex.system.domain.SysUserRole;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

import java.util.List;

public interface SysCommonUseMenuMapper extends BaseMapper<SysCommonUseMenu> {
    @Select("select max(a.sort) from sys_common_use_menu a where a.del_flag = 0 and a.user_id = #{userId}")
    Integer findMaxSort(@Param("userId") String userId);

}
